import { Button } from "antd";
import Link from "next/link";

export default function NotFound(error: any) {
  return (
    <div className="flex w-[full] h-[50vh] items-center justify-center flex-col">
      <h2 className="text-4xl mb-8 font-bold">页面没有找到</h2>
      <button className="bg-black text-white py-2 rounded-lg overflow-hidden px-4">
        <Link href="/admin">返回首页</Link>
      </button>
    </div>
  );
}
